import Vue from 'vue';
import VueResource from 'vue-resource';
import App from './App';

/*
  import plugin
*/
import sConf from 'common/plugins/conf';

/*
  import base css
*/
import 'common/css/base.less';
/* eslint-disable no-new */
Vue.use(VueResource);
Vue.use(sConf.Config, {data: sConf.configOptions});
Vue.use(sConf.Code, {data: sConf.codeOption});
Vue.use(sConf.Util, {data: sConf.utilOption});

new Vue({
  el: '#hotspots',
  template: '<App/>',
  components: { App }
});
